package com.tensquare.qa.service.impl;

import com.tensquare.qa.mapper.ProblemMapper;
import com.tensquare.qa.pojo.Problem;
import com.tensquare.qa.service.ProblemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Alfred
 * @description TODO
 * @date 2021/4/23 19:49
 */
@Service("problemService")
public class ProblemServiceImpl implements ProblemService {
    @Autowired
    private ProblemMapper problemMapper;

    @Override
    public List<Problem> findAll() {
        return problemMapper.findAll();
    }
}
